Skip to content

fix: preserve failed pack health on readiness retry - #2661

Merged
groupthinking merged 3 commits into
mainfrom
codex/fix-pack-readiness-20261112
Nov 13, 2026
Merged

groupthinking merged 3 commits into
mainfrom
codex/fix-pack-readiness-20261112

Conversation

@groupthinking

@groupthinking groupthinking commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Closes #2659

Outcome

Build live preserves failed or missing hosted health after stored-pack recovery. Healthy initial and retry paths remain covered.

Scope and risk

The production change removes the ten-line failed-health success bypass; regression tests cover failed health, missing health and unsuccessful HTTP responses. Risk is low.

The temporary no-deployment configuration has been removed. Hayden explicitly authorized preview deployments, E2E validation, then merge and automatic production deployment only if validation passes on November 13, 2026. No check bypass or acceptance weakening is authorized.

Verification

Current head: 3825e30b8a443b1d777a581a8ef496ce80b3f7d3; tree cc4240b370ad1fec772ffec645a8bcf10fd31bbf. This update changes deployment configuration only; the application code and tests are unchanged from the independently reviewed fix.

Focused readiness checks: 29 passed; standalone web suite: 1,568 passed and 28 skipped. The negative control failed two tests against the original source.

Both fixes together passed a fresh current-main local rerun: 1,581 web tests with 28 skipped across 172 files; full web type-check and lint passed. The validated combined current-main tree is 08bd6950052241259d30c2da20897c5c9e2b5fa0. Both also combine cleanly with current main 512a2558f73d6281b6a880548bedf140b7e30292, which adds only the independent runtime npm repair.

Earlier heads passed hosted build, unit, coverage, CodeQL and security workflow checks, but E2E failed before execution because previews were disabled. Those earlier successes are historical, not current-head acceptance. New exact-head preview CI and E2E completed successfully. Hosted build, web/Python tests, real-service preflight, security workflows, CodeQL, coverage, metadata and issue closer passed before merge preparation. A green report that skipped ready-pack assertions is not accepted as ready-pack evidence.

The canonical fixture auJzb1D-fag was read-only preflighted on production: HTTP 200, success, current p1.6-direct-shard-v1 pack and 6,504 transcript characters. This does not prove a fresh extraction or a deployed app generated from the video.

Release and rollback

Codex owns current-head checks, review findings, exact-head-protected merge, and production verification. Mark this draft ready only after validation. No merge has occurred.

Rollback is a separately reviewed revert; it would restore the prior incorrect readiness behavior. Durable server cancellation and general video-to-production generation remain separate from this correction.

Related correction: #2662.

Verified preview acceptance

  • Exact-head preview: https://v0-uvai-9621mle7n-garv1.vercel.app.
  • E2E: 16/16 passed, including ready-pack evidence lineage, with no timeout-based skipping of shape assertions. Receipt.
  • Individual Vercel deployment is Ready and bound to this head. Generic HTTP E2E is distinct from the focused regression tests for the fix.
  • No unresolved review threads or additional blocking source finding at final review.

@coderabbitai

coderabbitai Bot commented Nov 12, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@github-actions github-actions Bot added javascript Pull requests that update javascript code tests labels Nov 12, 2026
@vercel

vercel Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
v0-uvai Ready Ready Preview, v0 Nov 13, 2026 6:31pm UTC

@github-actions

Copy link
Copy Markdown
Contributor

✅ E2E Test Results: ALL TESTS PASSED

Metric Value
Status 🟢 GREEN
Total Tests
Passed 16
Failed
Deployment https://v0-uvai-9621mle7n-garv1.vercel.app
Test Output
very request without persisting it�[32m 1�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mTemplate Gallery�[2m > �[22mhomepage returns 200 with HTML�[33m 314�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mTemplate Gallery�[2m > �[22mfeatures page contains template/workflow markup�[32m 269�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mTemplate Gallery�[2m > �[22mfeatures page surfaces at least 5 workflow/template indicators�[33m 348�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mVideo Pack Pipeline�[2m > �[22mPOST /api/video/pack accepts a YouTube URL without hanging�[33m 2179�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mVideo Pack Pipeline�[2m > �[22mGET /api/video/pack resolves to a ready pack with evidence lineage�[33m 867�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mError Handling�[2m > �[22mmissing URL returns 400, not a hang�[32m 201�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mError Handling�[2m > �[22minvalid URL returns 400 quickly, not a hang�[32m 195�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mError Handling�[2m > �[22mPOST /api/video/pack with no body returns 400�[32m 192�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mDashboard�[2m > �[22m/dashboard returns 200�[32m 300�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mDashboard�[2m > �[22m/dashboard contains agent or pipeline visualization markup�[32m 241�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mAPI Health�[2m > �[22mGET /api returns a response (not 404)�[33m 337�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mAPI Health�[2m > �[22mretired /api/pipeline routes are gone (no pipeline served)�[32m 117�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mStatic Assets�[2m > �[22mhomepage has proper meta tags�[32m 231�[2mms�[22m�[39m
 �[32m✓�[39m tests/e2e/pipeline.test.ts�[2m > �[22mEventRelay E2E — Live Deployment�[2m > �[22mStatic Assets�[2m > �[22m/features page returns 200�[32m 258�[2mms�[22m�[39m

�[2m Test Files �[22m �[1m�[32m1 passed�[39m�[22m�[90m (1)�[39m
�[2m      Tests �[22m �[1m�[32m16 passed�[39m�[22m�[90m (16)�[39m
�[2m   Start at �[22m 18:32:27
�[2m   Duration �[22m 8.02s�[2m (transform 42ms, setup 0ms, import 56ms, tests 7.83s, environment 0ms)�[22m


@groupthinking
groupthinking marked this pull request as ready for review November 13, 2026 18:37
@groupthinking
groupthinking merged commit 3a2616c into main Nov 13, 2026
47 of 51 checks passed
@groupthinking
groupthinking deleted the codex/fix-pack-readiness-20261112 branch November 13, 2026 18:39

This branch was successfully deployed

1 active deployment
Preview — 3825e30b Deployed Nov 13, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

javascript Pull requests that update javascript code tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preserve failed health in Build live readiness

1 participant